﻿@using ETD.Common.Extension;
@using ETD.WebOrganization.Libs.Helper;
@using ETD.WinClient.Config;
@using ETD.Domain.EnumModels;
@using ETD.Domain.WebModels;
@using ETD.Common;
@using ETD.WebOrganization.Areas.Web.Models;

@model ETD.WebOrganization.Areas.Web.Models._MoneySummary

<style>
    .money_summary {
        height: 180px;
        /*background-color: #50d2c2;*/
        background: linear-gradient(#50d2c2, #24d7c2); /* 标准的语法 */
    }

        .money_summary .weui-grids:before {
            border-top: 0px solid #D9D9D9;
        }

        .money_summary .weui-grids:after {
            border-left: 0px solid #D9D9D9;
        }

        .money_summary .weui-grid:before {
            border-right: 0px solid #D9D9D9;
        }

        .money_summary .weui-grid:after {
            border-bottom: 0px solid #D9D9D9;
        }

    .money_today {
        height: 110px;
        width: 100%;
    }

    .money_today_left {
        width: 16.6666%;
    }

    .money_today_right {
        width: 16.6666%;
    }

    .money_today_value {
        display: block;
        text-align: center;
        color: white;
        font-size: 46px;
    }

    .money_count {
        height: 70px;
        padding-top: 10px;
    }

    .money_count_label {
        display: block;
        text-align: center;
        color: #ffffff;
        font-size: 12px;
        opacity: 0.8;
    }

    .money_count_value {
        display: block;
        text-align: center;
        color: white;
        font-size: 16px;
    }

    .money_summary_line_one {
    }

    .money_summary_line_two .weui-grid {
        width: 50% !important;
    }
</style>
<div class="money_summary">
    <div class="weui-grids money_summary_line_one">

        <div class="weui-grid money_today">
            <span class="money_count_label">昨日收益</span>
            <span class="money_today_value">￥@Model.YesterdayIncome.ToF2OrMark()</span>
        </div>

    </div>
    <div class="weui-grids money_summary_line_two">
        <div class="weui-grid money_count">
            <span class="money_count_label">累计收益</span>
            <span class="money_count_value">￥@Model.AccumulatedIncome.ToF2OrMark()</span>
        </div>
        <div class="weui-grid money_count">
            <span class="money_count_label">待结算金额</span>
            <span class="money_count_value">￥@Model.NotSettlementIncome.ToF2OrMark()</span>
        </div>

    </div>
</div>